<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Theme="island" AutoEventWireup="false" CodeFile="SearchResults.aspx.vb" Inherits="SearchResults" title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="RightContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="maincontent" Runat="Server">
    &nbsp; &nbsp;
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
        <Columns>
            <asp:BoundField DataField="firstName" HeaderText="firstName" SortExpression="firstName" />
            <asp:CheckBoxField DataField="gender" HeaderText="gender" SortExpression="gender" />
            <asp:BoundField DataField="bio" HeaderText="bio" SortExpression="bio" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="SELECT [firstName], [gender], [bio] FROM [af_Playes] WHERE (([bio] LIKE '%' + @bio + '%') OR ([firstName] LIKE '%' + @firstName + '%') OR ([lastName] LIKE '%' + @lastName + '%'))">
        <SelectParameters>
            <asp:SessionParameter Name="bio" SessionField="simpleSearchText" Type="String" />
            <asp:SessionParameter Name="firstName" SessionField="simpleSearchText" Type="String" />
            <asp:SessionParameter Name="lastName" SessionField="simpleSearchText" Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="adBox" Runat="Server">
</asp:Content>

